package jp.co.piratealliance.pirateAllianceWeb.dao.com;

import java.util.List;
import java.util.Map;

import jp.co.piratealliance.pirateAllianceWeb.dto.com.CountryInfoDto;
import jp.co.piratealliance.pirateAllianceWeb.dto.com.UserInfoDto;
import jp.co.piratealliance.pirateAllianceWeb.dto.com.UserLanguageInfoDto;


/**
 * copyright   pirate alliance team 2014
 * @author     lunxing
 *
 */

public interface UserDao {

	public UserInfoDto selectUserByEmailAndPassword(Map<String,Object> param);

	public int userRegister(UserInfoDto param);

	public UserInfoDto selectUserByUserId(String param);

	public int userUpdate(UserInfoDto param);

	public List<UserInfoDto> selectUserListInfoByUserId(String user_id);

	public int getEmailCount(String email);
	
	public CountryInfoDto selectCountryByCountryId(String param);
	
	public UserLanguageInfoDto selectUserLanguageByUserIdAndLanguageId(Map<String,Object> param);
	
	public int insertUserLanguage(UserLanguageInfoDto param);
	
	public int updateUserLanguage(UserLanguageInfoDto param);
}
